/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoTriState;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.ParagraphFormat*/
public class ParagraphFormat extends JavaScriptObject {

	protected ParagraphFormat() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final int getAlignment()/*-{
		return this.Alignment;
	}-*/;

	public native final void setAlignment(int value)/*-{
		this.Alignment = value;
	}-*/;

	public native final BulletFormat getBullet()/*-{
		return this.Bullet;
	}-*/;

	protected native final int _getLineRuleBefore()/*-{
		return this.LineRuleBefore;
	}-*/;

	public final MsoTriState getLineRuleBefore(){
		return MsoTriState.valueOf(_getLineRuleBefore());
	}
	protected native final void _setLineRuleBefore( int value)/*-{
		this.LineRuleBefore = value;
	}-*/;

	public final void setLineRuleBefore(MsoTriState value){
		_setLineRuleBefore(value.getValue());
	}
	protected native final int _getLineRuleAfter()/*-{
		return this.LineRuleAfter;
	}-*/;

	public final MsoTriState getLineRuleAfter(){
		return MsoTriState.valueOf(_getLineRuleAfter());
	}
	protected native final void _setLineRuleAfter( int value)/*-{
		this.LineRuleAfter = value;
	}-*/;

	public final void setLineRuleAfter(MsoTriState value){
		_setLineRuleAfter(value.getValue());
	}
	protected native final int _getLineRuleWithin()/*-{
		return this.LineRuleWithin;
	}-*/;

	public final MsoTriState getLineRuleWithin(){
		return MsoTriState.valueOf(_getLineRuleWithin());
	}
	protected native final void _setLineRuleWithin( int value)/*-{
		this.LineRuleWithin = value;
	}-*/;

	public final void setLineRuleWithin(MsoTriState value){
		_setLineRuleWithin(value.getValue());
	}
	public native final float getSpaceBefore()/*-{
		return this.SpaceBefore;
	}-*/;

	public native final void setSpaceBefore(float value)/*-{
		this.SpaceBefore = value;
	}-*/;

	public native final float getSpaceAfter()/*-{
		return this.SpaceAfter;
	}-*/;

	public native final void setSpaceAfter(float value)/*-{
		this.SpaceAfter = value;
	}-*/;

	public native final float getSpaceWithin()/*-{
		return this.SpaceWithin;
	}-*/;

	public native final void setSpaceWithin(float value)/*-{
		this.SpaceWithin = value;
	}-*/;

	public native final int getBaseLineAlignment()/*-{
		return this.BaseLineAlignment;
	}-*/;

	public native final void setBaseLineAlignment(int value)/*-{
		this.BaseLineAlignment = value;
	}-*/;

	protected native final int _getFarEastLineBreakControl()/*-{
		return this.FarEastLineBreakControl;
	}-*/;

	public final MsoTriState getFarEastLineBreakControl(){
		return MsoTriState.valueOf(_getFarEastLineBreakControl());
	}
	protected native final void _setFarEastLineBreakControl( int value)/*-{
		this.FarEastLineBreakControl = value;
	}-*/;

	public final void setFarEastLineBreakControl(MsoTriState value){
		_setFarEastLineBreakControl(value.getValue());
	}
	protected native final int _getWordWrap()/*-{
		return this.WordWrap;
	}-*/;

	public final MsoTriState getWordWrap(){
		return MsoTriState.valueOf(_getWordWrap());
	}
	protected native final void _setWordWrap( int value)/*-{
		this.WordWrap = value;
	}-*/;

	public final void setWordWrap(MsoTriState value){
		_setWordWrap(value.getValue());
	}
	protected native final int _getHangingPunctuation()/*-{
		return this.HangingPunctuation;
	}-*/;

	public final MsoTriState getHangingPunctuation(){
		return MsoTriState.valueOf(_getHangingPunctuation());
	}
	protected native final void _setHangingPunctuation( int value)/*-{
		this.HangingPunctuation = value;
	}-*/;

	public final void setHangingPunctuation(MsoTriState value){
		_setHangingPunctuation(value.getValue());
	}
	public native final int getTextDirection()/*-{
		return this.TextDirection;
	}-*/;

	public native final void setTextDirection(int value)/*-{
		this.TextDirection = value;
	}-*/;

}
